﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Telerik.WinControls.UI;

namespace WindowsFormsApplication.General
{
    public partial class NonDockableForm : ShapedForm
    {
        public NonDockableForm()
        {
            InitializeComponent();
        }

        private void DataTableTest_Load(object sender, EventArgs e)
        {
            try
            {
                //DataTable dt1 = new DataTable();

                //dt1.Columns.Add("Id", typeof(int));
                //dt1.Columns.Add("Name", typeof(string));
                //dt1.Columns["Id"].Unique = true;

                //dt1.Rows.Add(1, "abc");
                //dt1.Rows.Add(2, "def");

                //DataTable dt2 = dt1.Copy();

                ////dt2.Rows.Add(3, "xxx");

                //dt1.Merge(dt2);
                //DataTable changesTable = dt1.GetChanges();
            }
            catch (Exception x)
            {
                MessageBox.Show(x.StackTrace);
            }
        }
    }
}
